SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41794: Unexpected exception, java.lang.StringIndexOutOfBoundsException, build failed, and other errors occur during client configuration

DetailsAboutRate It

During configuration of the SAS® Enterprise Miner™ Java client, an error pop-up window that points to a dmineclntcfg_config_<date.timestamp>.log file might appear. The following Java exception appears in the log immediately before the text "BUILD FAILED":

-updateConfigureVersion:
     [echo] update EM configure version
     [echo] change the release number to 6.2
     [echo] Connecting to metadata server:
     [echo]     Host: <Fully qualified hostname>
     [echo]     Port: 8561
     [echo]     User: sasadm
     [echo] Connected to metadata server
     [echo] Found repository: Foundation id: A0000001.A5N132P2
     [echo] Searching for metadata
     [echo]     Type: SoftwareComponent
     [echo]     Search: 
     [echo] Found metadata count: 0
     [echo] dmineclntcfg.maintenance.to.version does not set.  Use dmineclntcfg.version instead : D2EMCS62
     [echo] Setting ConfigureVersion for SAS Enterprise Miner Client with fqid= to Version=D2EMCS62
[SetObjectProperties] Unexpected exception
[SetObjectProperties] java.lang.StringIndexOutOfBoundsException: String index out of range: 8
.....more

The error occurs because the SoftwareComponent tag that is built with the fully qualified host name exceeds a Java 60-character length limit.

To work around the limit, follow these steps:

  1. Stop all SAS servers except for the metadata server.
  2. Go to !SASROOT\SASDeploymentManager\9.2 and run config.exe.
  3. Select "Remove Existing Configuration".

    image label
    • Select your current configuration.
    • Select only the Enterprise Miner client that corresponds to the host configuration that you chose for Step 4.

      image label
      • After removing the configuration, go into your depot and start SAS Deployment Wizard.
      • On the "Select Deployment Type" screen, choose "Perform a Planned Deployment", and uncheck "Install SAS Software". Leave "Configure SAS Software" checked:
        image label
      • Select the same deployment plan that you chose during your original configuration.
      • Complete the subsequent screens.
      • On the "Select Products to Configure" screen, select only: "SAS Deployment Tester - Client", and "SAS Enterprise Miner Client Configuration" (and "SAS Text Miner Java Client" if it applies to your configuration).
        image label
      • Continue through the screens until the "Local Machine Name" screen. On that screen, change the Fully Qualified Local Host Name:
        image label
        to the Short Local Host Name:
        image label

        Changing the "Fully Qualified Local Host Name" to the "Short Local Host Name" does not affect your network connections or definitions. This change does affect only a software component name that is used internally within SAS.

      • Continue to the end.

      If you experience further errors, please send the log that is listed in the error pop-up to SAS Technical Support.



      Operating System and Release Information

      Product FamilyProductSystemProduct ReleaseSAS Release
      ReportedFixed*ReportedFixed*
      SAS SystemSAS Enterprise MinerMicrosoft® Windows® for 64-Bit Itanium-based Systems6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 Datacenter 64-bit Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 Enterprise 64-bit Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows XP 64-bit Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft® Windows® for x646.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 Datacenter Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 Enterprise Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 Standard Edition6.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2003 for x646.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 20086.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows Server 2008 for x646.27.19.2 TS2M39.3 TS1M0
      Microsoft Windows XP Professional6.27.19.2 TS2M39.3 TS1M0
      Windows 7 Enterprise 32 bit6.27.19.2 TS2M39.3 TS1M0
      Windows 7 Enterprise x646.27.19.2 TS2M39.3 TS1M0
      Windows 7 Home Premium 32 bit6.27.19.2 TS2M39.3 TS1M0
      Windows 7 Home Premium x646.27.19.2 TS2M39.3 TS1M0
      Windows 7 Professional 32 bit6.27.19.2 TS2M39.3 TS1M0
      Windows 7 Professional x646.27.19.2 TS2M39.3 TS1M0
      Windows 7 Ultimate 32 bit6.27.19.2 TS2M39.3 TS1M0
      Windows 7 Ultimate x646.27.19.2 TS2M39.3 TS1M0
      Windows Vista6.27.19.2 TS2M39.3 TS1M0
      Windows Vista for x646.27.19.2 TS2M39.3 TS1M0
      64-bit Enabled AIX6.27.19.2 TS2M39.3 TS1M0
      64-bit Enabled HP-UX6.27.19.2 TS2M39.3 TS1M0
      64-bit Enabled Solaris6.27.19.2 TS2M39.3 TS1M0
      HP-UX IPF6.27.19.2 TS2M39.3 TS1M0
      Linux6.27.19.2 TS2M39.3 TS1M0
      Linux for x646.27.19.2 TS2M39.3 TS1M0
      Solaris for x646.27.19.2 TS2M39.3 TS1M0
      * For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.